var vm = new Vue({
	el: '#idvue',
	data() {
		return {
			title: '武汉仓',
			time:'2017-01-1',
			list: [{
					id: 1,
					title: "冷库1",
					temperature: {
						title: '温度监控',
						data: [{
								id: 1,
								temperatureTit: '温控001',
								value: 0,
							},
							{
								id: 2,
								temperatureTit: '温控002',
								value: 22,
							}, {
								id: 3,
								temperatureTit: '温控003',
								value: -2.2,
							}, {
								id: 4,
								temperatureTit: '温控004',
								value: 33,
							}, {
								id: 5,
								temperatureTit: '温控005',
								value: -10,
							},
							{
								id: 6,
								temperatureTit: '温控006',
								value: 0,
							}
						],
					},

					humidity: {
						title: '湿度监控',
						data: [{
								id: 1,
								humidityTit: '湿控001',
								value: 20,
							},
							{
								id: 2,
								humidityTit: '湿控002',
								value: 22,
							}, {
								id: 3,
								humidityTit: '湿控003',
								value: 32,
							}, {
								id: 4,
								humidityTit: '湿控004',
								value: 73,
							}, {
								id: 5,
								humidityTit: '湿控005',
								value: 10,
							},
							{
								id: 6,
								humidityTit: '湿控006',
								value: 70,
							}
						],
					}
				},
				{
					id: 2,
					title: "冷库2",
					temperature: {
						title: '温度监控',
						data: [{
								id: 1,
								temperatureTit: '温控001',
								value: 0,
							},
							{
								id: 2,
								temperatureTit: '温控002',
								value: 22,
							}, {
								id: 3,
								temperatureTit: '温控003',
								value: -2.2,
							}, {
								id: 4,
								temperatureTit: '温控004',
								value: 33,
							}, {
								id: 5,
								temperatureTit: '温控005',
								value: -10,
							},
							{
								id: 6,
								temperatureTit: '温控006',
								value: 0,
							}
						],
					},

					humidity: {
						title: '湿度监控',
						data: [{
								id: 1,
								humidityTit: '湿控001',
								value: 20,
							},
							{
								id: 2,
								humidityTit: '湿控002',
								value: 22,
							}, {
								id: 3,
								humidityTit: '湿控003',
								value: 32,
							}, {
								id: 4,
								humidityTit: '湿控004',
								value: 73,
							}, {
								id: 5,
								humidityTit: '湿控005',
								value: 10,
							},
							{
								id: 6,
								humidityTit: '湿控006',
								value: 70,
							}
						],
					}
				}
			]
		}

	},
	methods: {
		getData: function() {
			//$ ajax 获取
			$(this.$el).addClass('show')
		},
		
	},
	ready: function() {
		this.getData();
	}
})